home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Precision Software Appli…tions Silver Collection 1
/
Precision Software Applications Silver Collection Volume One (PSM) (1993).iso
/
tutor
/
dosguide.exe
/
HELPDOS.ZIP
/
PATH.HLP
< prev
next >
Wrap
Text File
|
1985-09-10
|
2KB
|
55 lines
------------------------ PATH - Internal DOS Command -------------------------
PATH specifies the directories to be searched for commands, programs or batch
files that are not in the current directory.
FORMAT: PATH [[d:]path[[;[d:]path]...]]
REMARKS:
d: - the drive to be searched. If omitted, the default drive is assumed.
path - the directory path to be used in the search. Must be specified.
Multiple drives and path names may be specified, separated by semicolons.
If DOS cannot find a command, program or batch file (files with a filename
extension of .EXE, .COM or .BAT only) in the current directory, it searches
the drives/directories specified in the PATH command. If multiple
directories are specified, the search is done in the order in which they were
specified.
Entering PATH with no parameters displays the current path setting.
Entering PATH; resets the search path to null. DOS then looks in the current
directory only for commands, programs and batch files. This is the default
when the system is started.
Erroneous information in the PATH command will not be detected until DOS
needs to search to specified directories.
If a specified path does not exist at the time DOS needs to search it, DOS
ignores that path and tries the next path.
EXAMPLES:
Have DOS search the directories C:\DOS, C:\MYBATCH and C:\UTIL for commands,
programs and batch files:
PATH C:\DOS;C:\MYBATCH;C:\UTIL
Have DOS search the directories A:\ and A:\HELPDOS for commands, programs and
batch files:
PATH A:\;A:\HELPDOS
Display current path setting:
PATH
Reset path settings to null (only the current directory will be searched):
PATH;